package com.tcj.blog.dto;

/**
 * @author tcj
 * @date 2020/10/13 14:17
 */
public class ResponseCode {


    //请求格式错误
    public static final int  BAD_REQUEST = 400;
    //访问未经授权
    public static final int  UNAUTHORIZED = 401;
    //ok
    public static final int  OK = 200;
    //错误的返回数据（例如账号已注册之类的）
    public static final int  NOT_TRUE = 201;
    //未找到对应资源
    public static final int  NOT_FOUND = 404;
    //拒绝访问
    public static final int  METHOD_NOT_ALLOWED = 405;
    //未知错误
    public static final int  ERROR = 10000;



}
